package com.jicheng.mapper;

import com.jicheng.dto.logs.LogsDetailDto;
import com.jicheng.dto.logs.LogsDto;
import com.jicheng.entity.Logs;
import com.jicheng.framework.mybatis.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LogsMapper extends BaseMapper<Logs> {

    List<LogsDto> getLog(@Param("username") String username, @Param("startTime") String startTime, @Param("endTime") String endTime);


    List<LogsDetailDto> getLogDetali(@Param("operationId") String operationId, @Param("startTime") String startTime, @Param("endTime") String endTime);
}